/*
 * JSF Toolkit Component Framework
 * Copyright (C) 2007 Noah Sloan <iamnoah A-T gmail D0T com>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 */
package com.jsftoolkit.base;

import com.jsftoolkit.base.ResourceInfo.Type;

/**
 * Constants related to resources.
 * 
 * @author noah
 * 
 */
public class ResourceConstants {

	/**
	 * The managed bean used to filter
	 */
	public static final String SKINNING_FILTER = "com_jsftoolkit_resourceFilter";

	/**
	 * The default encoding.
	 */
	public static final String RESOURCE_ENCODING = "UTF-8";

	/**
	 * The currently supported DOJO version is 0.4.1, including other versions
	 * will cause conflicts between components.
	 */
	public static final ResourceInfo DOJO_JS = new ResourceInfo(
			"org.dojotoolkit.DOJO_JS", "/scripts/dojo/dojo.js", Type.SCRIPT,
			RESOURCE_ENCODING, null);

	public static final ResourceInfo PROTOTYPE_JS = new ResourceInfo(
			"org.prototypejs.PROTOTYPE_JS", "/scripts/prototype.js",
			Type.SCRIPT, RESOURCE_ENCODING, null);
	
	public static final ResourceInfo SCRIPTACULOUS_EFFECTS_JS = new ResourceInfo(
			"script.aculo.us.EFFECTS_JS", "/scripts/scriptaculous/effects.js",
			Type.SCRIPT, RESOURCE_ENCODING, null);

	public static final ResourceInfo JSFTK_JS = new ResourceInfo(
			"com.jsftoolkit.JSFTK_JS", "/scripts/jsfTk/src/jsfTk.js",
			Type.SCRIPT, RESOURCE_ENCODING, null);

}
